package com.ruoyi.questionBank.mapper;

import com.ruoyi.questionBank.domain.ExamPaper;
import com.ruoyi.questionBank.vo.ExamPaperListVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ExamPaperMapper {
    List<ExamPaper> list(ExamPaperListVO vo);
    int size(ExamPaperListVO vo);

    ExamPaper getById(int pid);

    void addExamPaper(ExamPaper paper);

    void update(ExamPaper paper);

    void del(int id);
    //获取进行中的考试
    ExamPaper getTheoryProcess();
}
